package models

import "gorm.io/gorm"

type Game struct {
	gorm.Model
	Name   string `gorm:"type:varchar(50);comment:APP产品"`
	Types  string `gorm:"type:varchar(50);comment:分类类别"`
	Counts int    `gorm:"type:int;comment:产品下载量"`
	UserId int    `gorm:"type:int;comment:用户ID"`
}
type Types struct {
	gorm.Model
	TypesName string `gorm:"type:varchar(30);comment:类型"`
}

// 产品类型关系表
type GameType struct {
	TypeId int
	GameId int
}
